const fromConfig = [
    {
        label:'标题',
        prop:'moveTitle',
        minWidth:'130',
    },
    {
        label:'内容',
        prop:'content',
        minWidth:'250',
    },
    {
        label:'日期',
        prop:'date',
        minWidth:'100',
    },
    {
        label:'图片地址',
        prop:'imgData',
        minWidth:'180'
    },
    {
        label:'操作',
        prop:'',
        fixed:'right',
        minWidth:'150'
    },
]


const fromConfigTwo = [
    {
        label:'姓名',
        prop:'oldname',
        minWidth:'80',
    },
    {
        label:'身份证ID',
        prop:'oldcardid',
        minWidth:'150',
    },
    {
        label:'性别',
        prop:'oldsex',
        minWidth:'50',
    },
    {
        label:'出生日期',
        prop:'olddateofbirth',
        minWidth:'100'
    },
    {
        label:'年龄',
        prop:'oldage',
        minWidth:'100'
    },
    {
        label:'手机号',
        prop:'oldphone',
        minWidth:'100'
    },

    {
        label:'家庭住址',
        prop:'',
        minWidth:'210',
        type:'filter',
        filter:function(item){
            let casd = JSON.parse(item.oldacasd)
            return casd.province+casd.city+casd.area+item.oldadress
        }
    },
    {
        label:'操作',
        prop:'',
        fixed:'right',
        minWidth:'150'
    },
]


export {fromConfig,fromConfigTwo}
